"""
客、货、装备信息管理、追踪、监控实验平台
主应用程序入口点
"""
import uvicorn
from app.main import app

if __name__ == "__main__":
    try:
        uvicorn.run(
            "app.main:app",
            host="127.0.0.1",
            port=8000,
            reload=True,
            log_level="info"
        )
    except Exception as e:
        print(f"启动失败: {e}")
        import traceback
        traceback.print_exc()
